package org.fnzn;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.boot.web.servlet.ServletComponentScan;
import org.fnzn.util.DBLog;
import lombok.extern.slf4j.Slf4j;

@SpringBootApplication
//@ServletComponentScan
@MapperScan({"org.fnzn.dao","org.fnzn.mapper","org.fnzn.wechat.mapper","org.fnzn.xindai.mapper"})
@Slf4j
public class UIBootstrap{
    public static void main(String[] args) {
    	DBLog.getInstance().start(); 
    	SpringApplication.run(UIBootstrap.class, args);
        log.info("spring boot start");  
    }
    
}